package com.hyjx.framework.common.error;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.web.servlet.error.ErrorController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author zengfh
 * @version 1.0
 * date 2018/04/10 18:01
 */
@Controller
@RequestMapping(value = "error")
public class HyjxErrorController implements ErrorController {
    
    private static final Logger LOGGER = LoggerFactory.getLogger(HyjxErrorController.class);
    
    
    @Override
    public String getErrorPath() {
        return "/component/publicpage/404";
    }
}
